package com.atguigu.spzx.manager.service;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.ProductSpec;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-09-15:47
 */
public interface ProductSpecService {


    PageInfo<ProductSpec> page(Integer pageNum, Integer pageSize);

    void deleteById(Long id);

    ProductSpec getById(Long id);

    void updateById(ProductSpec productSpec);

    void save(ProductSpec productSpec);

    List<ProductSpec> findAll();
}
